package com.test.demo.dao;
/**
 * 王宇dao层代码
 * */
import com.test.demo.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    //主键获取信息
    User selectByPrimaryKeyuser(Integer uid);
    List<User> getUIsBegin();
//获取全部信息
    List<User> getAll1();
//新增
    int insertUser(User usermodel);
    //删除
    int delUser(Integer uid);
    //更新
    int updateUser(User usermodel);

}
